package com.xu.cloud.common.auth;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * 认证配置
 *
 * @author xuguan
 * @since 2025/1/13
 */
@ConfigurationProperties(prefix = "xu.cloud.authentication")
public class AuthenticationProperties {

    /**
     * 需要认证的请求路径
     */
    private List<String> urlPatterns;

    public List<String> getUrlPatterns() {
        return urlPatterns;
    }

    public void setUrlPatterns(List<String> urlPatterns) {
        this.urlPatterns = urlPatterns;
    }
}
